@extends('layout.userinfo')
@section('content')

        <div class="profile-panel" role="main">
            <!-- ngIf: pageTitleVisible -->
            <div class="profile-panelcontent" ng-transclude="">
                <div class="profile-info ng-scope">
                    <div class="profile-infoitem">
                        <div class="profile-avatarwrap">
                            <img ng-show="avatarUrl" ng-src="//fuss10.elemecdn.com/1/aa/517c48e40061040af3a2b6a96bf94jpeg.jpeg?imageMogr2/thumbnail/112x112/format/webp/quality/85"
                                 alt="seeklegend的头像" class="profile-avatar" src="/elm_home/img/517c48e40061040af3a2b6a96bf94jpeg(1).jpeg"
                            />
                            <a href="https://www.ele.me/profile/info" class="profile-edit">
                                编辑资料
                            </a>
                        </div>
                        <div class="profile-perosondata">
                            <h3 class="profile-name ng-binding">
                                {{$res->name}}
                            </h3>
                            <p class="profile-tips ng-binding" ng-bind="timeSection.tipText">
                                是不是饿的睡不着呀？吃个夜宵呗！
                            </p>
                            <p class="profile-security">
                                账户安全：
                                        <span ng-class="{'low': level === 0, 'mid': level === 1, 'high': level ===2 || level ===3}"
                                              ng-bind="levelText" class="ng-binding high">
                                            高
                                        </span>
                                <a href="/gerenanquan"onclick="location.reload([false])" ng-bind="levelTip" class="ng-binding">
                                    查看详情
                                </a>
                            </p>
                            <p class="profile-othermessage">
                                <!-- ngIf: user.is_mobile_valid -->
                                <a href="https://www.ele.me/profile/security" class="icon mobile icon-profile-phone ng-scope"
                                   ng-if="user.is_mobile_valid">
                                </a>
                                <!-- end ngIf: user.is_mobile_valid -->
                                <!-- ngIf: user.is_email_valid -->
                                <!-- ngIf: !user.is_mobile_valid -->
                                <!-- ngIf: !user.is_email_valid -->
                                <a href="https://www.ele.me/profile/security" class="icon email icon-profile-email none ng-scope"
                                   ng-if="!user.is_email_valid" tooltip="未绑定邮箱">
                                </a>
                                <!-- end ngIf: !user.is_email_valid -->
                            </p>
                        </div>
                    </div>
                    <div class="profile-infoitem">
                        <a class="inherit" href="https://www.ele.me/profile/hongbao">
                            <p>
                                我的红包
                            </p>
                            <p class="profile-infoitem-number hongbao">
                                        <span class="number ng-binding" ng-bind="hongbaocount">
                                            0
                                        </span>
                                个
                            </p>
                        </a>
                    </div>
                    <div class="profile-infoitem">
                        <a class="inherit" href="https://www.ele.me/profile/points">
                            <p>
                                我的积分
                            </p>
                            <p class="profile-infoitem-number score">
                                        <span class="number ng-binding" ng-bind="user.point">
                                            0
                                        </span>
                                分
                            </p>
                        </a>
                    </div>
                    <div class="profile-infoitem">
                        <a class="inherit" href="https://www.ele.me/profile/balance">
                            <p>
                                账户余额
                            </p>
                            <p class="profile-infoitem-number balance">
                                        <span class="number ng-binding" ng-bind="user.balance| number : 2">
                                            0.00
                                        </span>
                                元
                            </p>
                        </a>
                    </div>
                </div>

                
            </div>
        </div>
    </div>
</div>
@endsection